home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 March / chip-cd_2005_03d.zip / 03d / Narzedzia systemowe / dbDeveloper 1.95 / dbdsetup.exe / {app} / FAQ.txt < prev    next >
Text File  |  2004-11-15  |  8KB  |  111 lines

  1. This is a dbDeveloper FAQ file.
  2.  
  3. FAQ
  4. ----------------------------------------------------------------------------------------------
  5. Q: How can I sort using two or more columns?
  6. A: To sort on multiple selected columns hold SHIFT down while clicking column headers to set multiple sorted columns; hold CTRL down and click columns area to remove sorting.
  7. ----------------------------------------------------------------------------------------------
  8. Q: What expressions can be used to filter data id grid?
  9. A: Now for every column you may specify filter statement which is of the form:
  10.     [RELATIONAL SIGN] STATEMENT
  11. where relational sign is one of the following =, <>, <, >, <=, >=.
  12. Omitting relational sign has the same effect as using equal sign ('=').
  13. Statement is any alphanumerical text which is of a valid data type allowed for the corresponding field. For fields which accept string values you may specify filter mask in the statement substituting masked characters with an asterisk or percent ('*' or '%') symbol. To substitute a single character use underscore ('_') mask symbol.
  14. Examples:
  15.  >20 for Numeric column,
  16.  <>T*T2 for String column.
  17. ----------------------------------------------------------------------------------------------
  18. Q: Sometimes specyfying alias or (table name) and dot I should get Completion Proposal with list of table columns. But instead I get a list of tables.
  19. A: That happens when sql parser can't manage with query (it can be not correct, not finished etc.) In that situation parser doesn't know what tables are used in query. So Completion Proposa; doesn't show list of columns but list tables instead.
  20. ----------------------------------------------------------------------------------------------
  21. Q: When I'm in Connect dialog and choose Oracle I got an error "TNS ....". My Oracle configuration is correct because I can connect to server using SQL Plus.
  22. A: It is because you haven't specified proper path to Oracle directory or you have preinstalled Oracle in other directory. dbDeveloper was asking about that path when you run it for the first time. You can set this Oracle home directory path manually in registy key: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOME.
  23. ----------------------------------------------------------------------------------------------
  24. Q: I connect through ODBC. During calling some queries I got an error: "Invalid descriptor index <13>"
  25. A: Some ODBC driver can't execute a query, when BLOB column is not the last column for the query. You need to place BLOB columns at the end of select-item list.
  26. ----------------------------------------------------------------------------------------------
  27. Q: What are minimum required files for connect to MS SQL Server?
  28. A: Below you can view description for the files, which are required for connectivity to Microsoft SQL Server. You can place the required files in Windows system directory (WinNT\system32 or Win95\system) or any other, which is necessary to add to the PATH environment variable.
  29.  
  30. File Name                            Description 
  31. ntwdblib.dll                         DB-Lib interface library contains functions for the WIN32 API 
  32.  
  33.  
  34. Communication DLL                    You can use one of the following Net library:
  35. / Net Library One library            Dbnmpntw.dll - Named Pipes library  
  36. for used communication protocol.     Dbmssocn.dll or dbnetlib.dll (for MSSQL 2000) - TCP/IP Sockets library 
  37.                                      Dbmsspxn.dll - NWLink IPX/SPX library 
  38.                                      Dbmsrpcn.dll - Multi-Protocol library 
  39.  
  40.  
  41. If you will use Named Pipes protocol, then it is enough to distribute the following files with your application: Ntwdblib.dll and Dbnmpntw.dll. As since Named Pipes is default Net-Library for MS SQL Client, if Net-Library entry is not exist in registry.
  42.  
  43. When you need to use other Net Library (except Named Pipes), then you need to import the following data(Net Library entry) in the system registry for connect through TCP/IP library (for example): 
  44.  
  45. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo] 
  46. "DSQUERY"="DBMSSOCN" 
  47. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\DB-Lib] 
  48. "AutoAnsiToOem"="on" 
  49. "UseIntlSettings"="ON" 
  50. ----------------------------------------------------------------------------------------------
  51. Q: How I can connect to SQL Anywhere(or Adaptive Server Anywhere)?
  52. A: First, you need to run SQL Anywhere as Open Server. ItÆs required Open Server Gateway for SQL Anywhere ver.5 and nothing for SQL Anywhere ver.6 (see SQL Anywhere Manuals for command line options).
  53. Second, you need to install Open Client Library (see below).
  54. ----------------------------------------------------------------------------------------------
  55. Q: WhatÆs need for Open Client Library deploy?
  56. A: For deploying Open Client libraries you need to copy the following files and directories from full installation:
  57.  
  58. File/Directory Name                             Description 
  59. \sybase\dll                                     Includes API-interface and communication libraries.
  60. Libcomn.dll                                     Open Client and Open Server Common Library 
  61. Libcs.dll                                       Open Server Library 
  62. Libct.dll                                       Open Client Library 
  63. Libintl.dll                                     Locale library 
  64. Libtcl.dll                                      TLI library 
  65. Nlmsnmp.dll                                     Named Pipes Driver 
  66. Nlwnsck.dll                                     WinSock TCP/IP Driver
  67. Nlnwlink.dll                                    NWLink IPX/SPX Driver
  68.                                                 You can use and deploy only one network driver.
  69.  
  70. \sybase\ini                                     Contains initialization files 
  71. Libtcl.cfg 
  72. Objectid.dat 
  73. Sql.ini 
  74.  
  75. \sybase\charsets                                Contains all charsets. You can use and copy only required charsets. In most cases, it is enough ôIso_1ö and ôUtf8ö charset directories. 
  76. \sybase\locales                                 Contains messages for some code pages. In most cases, it is enough a ôEnglish\Iso_1ö locale directory. 
  77.  
  78. Also you need set SYBASE environment variable to a path, which contains Sybase client, and add drive:\sybase\dll directory to the PATH environment variable. You can add the following line in your autoexec.bat and change X:\ on your valid driver, which contains Sybase client. 
  79.  
  80. SET SYBASE=X:\sybase 
  81. SET PATH=%PATH%;X:\sybase\dll 
  82. Below you can see a content of Sql.ini for TCP/IP connect, where ASESRV is a SQL Server name, and SRVHOST(port: 5000) is a host with SQL Server.
  83.  
  84. [ASESRV]
  85. $BASE$00=NLWNSCK,SRVHOST,5000
  86. MASTER=$BASE$00;
  87. $BASE$01=NLWNSCK,SRVHOST,5000
  88. QUERY=$BASE$01;
  89. ----------------------------------------------------------------------------------------------
  90. Q: How can I connect to specified serwer. What connection string should I put in "Server name" field?
  91. A:
  92.  
  93. - DB2, Informix and ODBC:
  94.   The "Server name" field can contain DSN, which is set up in ODBC Administrator, or a full datasource string with supported parameters for the required server.
  95.   Below you can see an example of datasource string for Informix server:
  96.   'SERVICE=ids_srv1;HOST=yourhost;PROTOCOL=OLSOCTCP;SERVER=ids_srv1;DATABASE=sysmaster;UID=informix;PWD=informix '.
  97.  
  98. - Interbase:
  99.   The "Server name" field defines a remote server, path to the required database and network protocol. See examples below.
  100.   RemoteDatabase value            Used network protocol
  101.   <server_name>:<filename>    TCP
  102.   \\<server_name>\<filename>    NetBEUI
  103.   <server_name>@<filename>    SPX
  104.  
  105. - Oracle:
  106.   The property specifies a host string/service name.
  107.  
  108. - MySQL, MS SQL Server or Sybase SQL Server:
  109.   If you connect to a remote server then "Server name" field has to include server and database names divided by colon. 
  110.   For example, "srv1:pubs" defines database name PUBS on the server SRV1.
  111.